package org.dromara.system.domain.bo;

import org.dromara.system.domain.PayCountry;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 国家业务对象 pay_country
 *
 * @author Gavino
 * @date 2024-11-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PayCountry.class, reverseConvertGenerate = false)
public class PayCountryBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 排序
     */
    private Integer sortOrder;

    /**
     * 是否启用
     */
    private Integer status;


}
